import Students from "../pages/students/index.js"
import AddStudents from "../pages/students/add.js"
import studentsImg from "../pages/students/imgs.js"
import updateStudents from "../pages/students/update.js"
export default{

    '/students-list': {
        on() {
            new Students({el:"#info-content"});
        }
    },
    
    '/add-students': {
        on() {
            new AddStudents({el:"#info-content"});
        }
    },
    '/studentsImg/:_id': {
        
        on(_id) {
            console.log(`111`);
           new studentsImg({el:"#info-content",_id})
        }
    },
    '/update-students/:_id': {

        
        on(_id) {
            console.log(_id);
            new updateStudents({el:"#info-content",_id});
        }
    },
}
